package com.dc.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 定时任务调度测试
 *
 * @author ruoyi
 */
@Component("dcTask")
@Slf4j
public class DcTask {
    public void dcMultipleParams(String s, Boolean b, Long l, Double d, Integer i) {
        log.info("执行多参方法 字符串类型:{},布尔类型:{},长整型:{},浮点型:{},整形:{}", s, b, l, d, i);
    }

    public void dcParams(String params, Integer type) {
        log.info("执行多参方法 字符串类型:{},长整型:{}", params, type);
    }

    public void dcNoParams() {
        System.out.println("执行无参方法");
    }
}
